package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
@Data
public class RidingOrder extends Model<RidingOrder> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String orderId;
	/**
	 * 0：待结单 1：已接单 2:确认送达
	 */
	private Integer type;
	/**
	 * 店家地址
	 */
	private String productAddress;
	/**
	 * 购买者手机号
	 */
	private String shopAddress;
	private String shopPhone;
	private String shopName;
	private String productPhone;
	private String ridingId;
	/**
	 * 取货时间
	 */
	private String getTime;
	/**
	 * 送达时间
	 */
	private String endTime;

	private String productName;
	
	private String remark;
	/**
	 * 约定送达时间
	 */
	private String appointTime;
	private String rinName;
	@TableField(exist = false)
	private String ridinName;
	@TableField(exist = false)
	private String xingxing;
	@TableField(exist = false)
	private String typeName;
	@TableField(exist = false)
	private String address;
	@TableField(exist = false)
	private String dinlong;
	@TableField(exist = false)
	private String dinlat;
	@Override
	protected Serializable pkVal() {
		return id;
	}

}
